package org.example.studyonline.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.example.studyonline.pojo.CourseCategory;
import org.example.studyonline.pojo.VO.StatisticsVO;

import java.util.List;

@Mapper
public interface CourseCategoryMapper extends BaseMapper<CourseCategory> {
    List<StatisticsVO> getCourseListByPage(@Param("offset") Long offset,@Param("pageSize") Long pageSize);

    int getCourseListTotal();
}
